﻿using CSharpDay05__MVC_Intro_.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace CSharpDay05__MVC_Intro_.Controllers
{
    public class MovieController : Controller
    {
        // GET: Movie
        public ActionResult Index()
        {
            Movie movie = new Movie() { Id = 1, Rating = Rating.R, Title = "This is a test", Year = 500 };
            return View(movie);
        }
    }
}